/*==============================================
 * Task1b: Testing CGameEngine
 *
 * Written by Dong ChangJie
 *==============================================*/
#include "GameEngine.h"

class CTask1b: public CGameEngine
{
public:
	// today we will only override the startup function
	virtual bool Startup( );
};

bool CTask1b::Startup( )
{
	// ask user for full screen
	bool full=false;
	if (MessageBox(NULL, "Fullscreen?", "GameWindow", MB_YESNO)==IDYES)
	{
		full=true;
	}

	return StartupWinD3D(640,480,full);
}


int WINAPI WinMain(HINSTANCE hInstance, 
				   HINSTANCE hPrevInstance, 
				   LPTSTR lpCmdLine, int nCmdShow)
{
	CTask1b eng;
	return eng.Go(hInstance);	// runs everything
}
